dsh-sandbox-temp-guard:Windows ACL 沙箱临时目录自愈守卫
dsh-sandbox-temp-guard 是 wsm000 维护的 DSH admin-security 插件,针对 Windows 上 dsh-sandbox-local 缓存的 %TEMP%\dsh-XXXXXX 被系统清理后会话内持续 SANDBOX_UNAVAILABLE 的问题:在工具执行前与周期扫描中重建目录并补 ACL,并对仍出现的后端失败追加注解,避免 Agent 误用 sandbox_permissions 提权。安装可用 npx @deepseek-ai/dsh plugin --profile desktop add github:wsm000/dsh-sandbox-temp-guard;配置含 repairBeforeToolExecution、sweepIntervalMs、annotateBackendFailure。过渡方案,对应 deepseek-harness Discussion #8550。
閱讀全文dsh-sandbox-console-fix:Windows 桌面版 workspace-write 沙箱控制台修复
介绍 TJZF-4j97 维护的 DSH bundle dsh-sandbox-console-fix:针对 Windows 桌面 Harness 0.2.0-rc.2 在 workspace-write 下 Shell 退出 0xC0000142 的问题,通过 console-shim 与 cordis patch 恢复受限 pwsh/cmd 启动且不放宽 fs 沙箱。说明 2026-10-19 归档结论(非提升宿主通常无需安装)、Plugin Manager 安装步骤、验证命令及 AI 未审阅风险提示。
閱讀全文dsh-grantwrite-patch:修復 Windows 沙箱 grantWrite 失敗並靜默重試
在 Windows 上使用 dsh 的 workspace-write 沙箱時,若 ACL 鏈缺少 WRITE_DAC/WRITE_OWNER,grantWrite 會在 SetNamedSecurityInfoW 上以 Win32 5 失敗,導致該工作區所有受控命令無法 spawn。dsh-grantwrite-patch 攔截此錯誤,按工作區規模選擇內存 patch、大目錄一次性 grant 或 diagnose/icacls 兜底修復權限,並在 maxRetries 內重試命令。僅 Windows NTFS 生效,需 dsh >= 0.1.7-rc.1。安裝:dsh plugin --profile web add dsh-grantwrite-patch。
閱讀全文dsh-sandbox-mxc:基於 MXC 的 DeepSeek Harness 沙箱提供者
`dsh-sandbox-mxc` 是 DeepSeek Harness 在 Windows 平臺上的沙箱提供者實現。它基於 Microsoft eXecution Containers (MXC),利用 `wxc-exec.exe` 包裝進程參數,無需內核補丁即可實現進程隔離。 該插件依賴 `@microsoft/mxc-sdk` 定位可執行文件,但通過不導入原生綁定,避開了 SDK 對 Node.js 版本(需 24 或 26)的限制,可在 Node.js 22+ 運行。安裝後禁用默認提供者,支持配置文件系統讀寫權限、網絡阻斷、超時及環境變量注入等功能,並具備自動過濾無效路徑的容錯機制。
閱讀全文